package com.ftg.selflearn.controller;

import com.ftg.selflearn.feignInterface.TestService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Guo 2022/8/6 17:41:42
 */
@RestController
@RequestMapping("api/v1")
@Api(tags = "测试test")
public class TestController {

    @Autowired
    private TestService testService;

    @GetMapping("getHello")
    @ApiOperation("测试openFigen")
    public String getHello(){
        System.out.println("Aaaa");
        return testService.hello1();
    }


}
